package com.jblv.frame.common.kafka.bean;

import java.io.Serializable;

/**
 * @author happyonion.yangtao
 * @version 1.0
 * @title MqBaseMessage
 * @projectName jblv-frame
 * @packageName com.jblv.web
 * @description
 * @date Create at 2020/4/17 13:46
 * @since jdk1.8
 */
public class MqBaseMessage implements Serializable {
    private static final long serialVersionUID = 1L;
    private long id = 0L;
    private String type = null;
    private byte[] bytes = null;
    private Object obj = null;

    public MqBaseMessage() {
    }

    public long getId() {
        return this.id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getType() {
        return this.type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public byte[] getBytes() {
        return this.bytes;
    }

    public void setBytes(byte[] bytes) {
        this.bytes = bytes;
    }

    public Object getObj() {
        return this.obj;
    }

    public void setObj(Object obj) {
        this.obj = obj;
    }

    public static long getSerialversionuid() {
        return 1L;
    }
}
